package ru.linnenson.darshana.infrastructure.persistence.mappers;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import ru.linnenson.darshana.application.domain.physic.PhysicTask;
import ru.linnenson.darshana.infrastructure.persistence.models.PhysicTaskStore;
import java.util.List;

@Mapper(componentModel = "spring", uses = {DictionaryStoreMapper.class})
public interface StorePhysicTaskMapper {

  List<PhysicTask> toDomain(final List<PhysicTaskStore> tasks);

//  @Mapping(target = "", source = "")
  PhysicTask toDomain(final PhysicTaskStore task);
}
